home *** CD-ROM | disk | FTP | other *** search
-
- ------------------------------------------------
-
- PlutPriv
-
-
- 23-Jan-94 Version 0.2
-
-
- (c) Peter Deane (3:622/401@FidoNet)
-
-
- Written in GFA-BASIC V3.51
-
- ------------------------------------------------
-
-
- PlutPriv is a utility which deals with ANY *.MSG base directory (4d or
- 2d headers are fine) to always set the private bit on all messages
- therein.
-
- The reason for this is that for some reason, some people/mail-processors
- will not set the private bit on messages. This means that any sysop who
- allows BBS users access to the netmail directory, can have sensitive
- messages getting read by all and sundry.
-
- This program was developed due to a spate of messages coming into my
- system and a friend's system, without the private bit set, containing
- AreaFix passwords. Since most people use the same AreaFix and session
- password, this is a big problem. If a node sends you an areafix message
- without the private bit set, it may result in a hacker faking your
- address and password and picking up your mail from somebody. There are
- a number of other undesirable occurences when your session password
- becomes public knowledge.
-
- This might also be useful for keeping all messages in a private echomail
- area private - again some systems just don't seem to be able to get it
- right when creating the mail in the first place.
-
- I'd mainly envisage you use this on your netmail directory/ies, as a
- rule, however. When testing it, you may like to try your BadMail area
- first, instead!
-
- The program is run from the command line. It REQUIRES an argument - the
- name of the directory you wish it to scan. The program scans the area
- to determine the hiwater and lowater marks. It then looks for a file
- called PlutPriv.lmr in that directory. If one exists, this is the
- number of the last message PlutPriv scanned, and it starts from that
- number onwards. If it doesn't exist, then PlutPriv starts at the
- lowater mark.
-
- If you ever want to be certain PlutPriv has set the private bits on
- EVERY message in the base, delete the "PlutPriv.lmr" file from the
- relevant directory. You may also edit this file in a text editor, if
- you wish - it is simply a number followed by a linefeed (or two or three
- linefeeds if you are making it by hand.
-
- Once PlutPriv has determined the numbers to start and finish, it will
- then open each *.MSG, set the private bit, close the message and write
- out its latest PlutPriv.lmr number to the file. The next time you run
- it, it will obviously not have as much work to do as the first time!
-
- Included in the archive is a program called "PlutUnPriv". I'd say
- you've probably guessed what this program does! Just in case you
- accidentally set the private bits on an entire echomail directory, this
- program will help! Don't forget you'll almost certainly have to delete
- the PlutPriv.lmr file in that directory, and be aware these programs are
- an "all or nothing" affair. PlutPriv makes EVERY message private,
- PlutUnPriv makes EVERY message public.
-
- The program is freely distributable, but must include all parts if
- re-distributed. (PlutPriv, PlutPriv.doc, PlutPriv.lst, PlutUnPriv)
-
- I've only included the source to PlutPriv in the archive. PlutUnpriv
- really only varies in one line - Search for "BSET" and replace it with
- "BCLR" inside the message processing loop. Oh, and change the versname$
- at the head of the program.
-
- The author can be contacted:
-
- Peter Deane
-
- FidoNet: 3:622/401 Postal: PO Box 228
- GlobalNet: 54:6101/401 Swansea NSW 2281
- AmigaNet: 41:200/401 AUSTRALIA
-
- BBS: from O/S +61-49-72-1647
- (24hrs) from Aust (049) 72-1647
-
- ------------------------------------------------
-
-